const _import = require('../_import');
import Layout from '@/page/index/'
export default [
	{
		path:'/login',
		name:'登录页',
		component:_import('login/index'),
		meta:{
			keepAlive:true
		}
	},
	{
		path:'/register',
		name:'注册页',
		component:_import('register/index'),
		meta:{
			keepAlive:true
		}
	},
	{
		path:'/modify',
		name:'修改密码',
		component:_import('modify/index'),
		meta:{
			keepAlive:true
		}
	},
	{
		path:'/forget',
		name:'忘记密码',
		component:_import('forget/index'),
		meta:{
			keepAlive:true
		}
	},
	{
		path:'/lock',
		name:'锁屏页',
		component:_import('lock/index')		
	},
	{
		path:'*',
		redirect:'/404',
		hidden:true
	},
	{
		path:'/404',
		name:'404',
		component:_import('error-page/404','components')
	},
	{
		path:'/',
		name:'主页',
		redirect: '/wel'
	}
]